home *** CD-ROM | disk | FTP | other *** search
- // Next available MSG number is 91
- // MODULE_ID RENDER_DCL_
-
- // Copyright (C) 1991, 1992, 1993, 1994 by Autodesk, Inc.
- //
- // Permission to use, copy, modify, and distribute this software
- // for any purpose and without fee is hereby granted, provided
- // that the above copyright notice appears in all copies and
- // that both that copyright notice and the limited warranty and
- // restricted rights notice below appear in all supporting
- // documentation.
- //
- // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
- // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
- // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
- // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
- // UNINTERRUPTED OR ERROR FREE.
- //
- // Use, duplication, or disclosure by the U.S. Government is subject to
- // restrictions set forth in FAR 52.227-19 (Commercial Computer
- // Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
- // (Rights in Technical Data and Computer Software), as applicable.
- //
- //.
-
- //****************************************************************************
- //
- // R13 Render Dialogue Control Language (DCL) -- Version 1.0
- //
- //****************************************************************************
-
- // Change level to 3 for new DCL auditing.
- dcl_settings : default_dcl_settings { }
-
- @include /*MSG0*/"rendcomm.dcl"
-
- //****************************************************************************
- //
- // Sub-assemblies common to the render and preferences dialog
- //
- //****************************************************************************
- render_quality_ave : popup_list {
- label = "Tipo modelizado:";
- key = /*MSG0*/"pf_st";
- mnemonic = "T";
- list = "Render de AutoCAD";
- render_types = /*MSG0*/"crender";
- edit_width = 20;
- fixed_width = true;
- }
-
- render_procedure_ave : boxed_column {
- label = "Procedimiento de modelizado";
- : toggle {
- key = /*MSG0*/ "pf_sd";
- label = "Sin dißlogo Render";
- mnemonic = "d";
- }
- : radio_column {
- key = /*MSG0*/"pf_rp";
- : radio_button {
- key = /*MSG0*/"pf_rp_10";
- label = "Escena completa Render";
- mnemonic = "R";
- }
- : radio_button {
- key = /*MSG0*/"pf_rp_20";
- label = "Consulta para las selecciones";
- mnemonic = "C";
- }
- }
- }
-
- render_options_ave : boxed_column {
- label = "Opciones de modelizado";
- : toggle {
- key = /*MSG0*/"pf_ss";
- label = "Sombreado suave";
- mnemonic = "S";
- }
- : toggle {
- key = /*MSG0*/"pf_mo";
- label = "Fusionar";
- mnemonic = "F";
- }
- : toggle {
- key = /*MSG0*/"pf_af";
- label = "Aplicar materiales";
- mnemonic = "A";
- }
- : edit_box_4 {
- label = "Ang. de suavizado:";
- key = /*MSG0*/"pf_sa";
- mnemonic = "z";
- }
- : button {
- key = /*MSG0*/"Options";
- label = "Mßs opciones...";
- mnemonic = "o";
- }
- }
-
-
- ave_render_destination : boxed_column {
- label = "Destino";
- : popup_list {
- key = /*MSG0*/"pf_ds";
- list = "Ventana grßf.\nVentana Render\nArchivo";
- }
- spacer_1;
- : column {
- : var_text {
- key = /*MSG0*/"pf_width";
- alignment = left;
- label = "Anchura: 640";
- }
- : var_text {
- key = /*MSG0*/"pf_height";
- alignment = left;
- label = "Altura: 480";
- }
- : var_text {
- key = /*MSG0*/"pf_colors";
- alignment = left;
- label = "Colores: 8 bits";
- }
- }
- spacer_1;
- : button {
- key = /*MSG0*/"FOptions";
- label = "Mßs opciones...";
- mnemonic = "p";
- }
- }
-
- render_settings_ave : column {
- : boxed_column {
- label = "Luces";
- : edit_box_4 {
- label = "Escala de icono:";
- key = /*MSG0*/"pf_ic_tx";
- mnemonic = "i";
- }
- }
- spacer_1;
- : button {
- label = "Informaci≤n...";
- key = /*MSG0*/"Info";
- mnemonic = "n";
- }
- : button {
- label = "Reconfigurar <";
- key = /*MSG0*/"Reconfigure";
- mnemonic = "e";
- }
- }
-
- pref_ave : dialog {
- label = "Preferencias de modelizado";
- render_quality_ave;
- : row {
- render_colormap;
- render_procedure_ave;
- }
- : row {
- render_options_ave;
- ave_render_destination;
- render_settings_ave;
- }
- spacer_1_ok_cancel_help_errtile;
- }
-
- render_ave : dialog {
- label = "Render";
- render_quality_ave;
- : row {
- render_scene_list;
- : column {
- render_colormap2;
- render_options_ave;
- }
- : column {
- ave_render_destination;
- }
- }
- spacer_1;
- : row {
- fixed_width = true;
- alignment = centered;
- : button {
- key = /*MSG0*/"pf_re_scene";
- label = "Escena Render";
- is_default = true;
- }
- : spacer { width = 2; }
- : button {
- key = /*MSG0*/"pf_re_ent";
- label = "Objetos Render <";
- }
- : spacer { width = 2; }
- cancel_button;
- : spacer { width = 2; }
- help_button;
- }
- errtile;
- }
-
- //***************************************************************************
- // Statistics dialog box
-
- rend_stats : dialog {
- label = "Estadφsticas";
- width = 50;
- spacer_1;
- : var_text { key = /*MSG0*/"name"; }
- : var_text { key = /*MSG0*/"stype"; }
- : var_text { key = /*MSG0*/"stime"; }
- : var_text { key = /*MSG0*/"record"; }
- : var_text { key = /*MSG0*/"faces"; }
- : var_text { key = /*MSG0*/"triangles"; }
- spacer_1;
- : row {
- alignment = centered;
- fixed_width = true;
- width = 39;
- : toggle {
- label = "Guardar datos en archivo:";
- mnemonic = "G";
- key = /*MSG0*/"save_stats";
- height = 1;
- }
- : edit_box {
- label = "";
- key = /*MSG0*/"stats_name";
- edit_width = 14;
- edit_limit = 132;
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
-
- //****************************************************************************
- // Main light dialog.
-
- ave_light : dialog {
- label = "Luces";
- key = /*MSG0*/"dialog";
- dialog_kind = /*MSG0*/"main";
- : row {
- : column {
- : row {
- : list_box_8x8 {
- key = /*MSG0*/"list";
- label = "Luces:";
- mnemonic = "L";
- }
- : column {
- spacer_0;
- button_mod;
- button_del;
- button_pkt;
- spacer_0;
- }
- }
- : row {
- button_new;
- : popup_list {
- key = /*MSG0*/"light_type_popup";
- edit_width = 15;
- mnemonic = "T";
- list = "Luz puntual\nLuz distante\nFoco";
- light_types = /*MSG0*/"overhead\ndirect\nsh_spot";
- }
- }
- }
- spacer;
- : column {
- children_alignment = centered;
- : boxed_column {
- label = "Luz ambiental";
- : edit_box_4 {
- label = "Intensidad:";
- key = /*MSG0*/"ambient_t";
- mnemonic = "I";
- }
- : slider_0_1 { key = /*MSG0*/"ambient_s"; }
- light_color_panel;
- }
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
-
- //****************************************************************************
- // Dialog to edit the currently selected Point light definition.
-
- ave_point_light : dialog {
- key = /*MSG0*/"dialog";
- dialog_kind = /*MSG0*/"point";
- : row {
- ave_basic_lights;
- : column {
- alignment = top;
- fixed_height = true;
- attenuation_panel;
- spacer_0;
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
-
-
- //****************************************************************************
- // Dialog to edit the currently selected Spot light definition.
-
- ave_spotlight : dialog {
- key = /*MSG0*/"dialog";
- dialog_kind = /*MSG0*/"spot";
- : row {
- ave_basic_lights;
- : column {
- ave_spot_lights;
- attenuation_panel;
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
-
- //****************************************************************************
- // Tile used only by Spotlights.
-
- ave_spot_lights : column {
- fixed_height = true;
- : edit_box_8 {
- label = "Haz de luz:";
- key = /*MSG0*/"conea_t";
- mnemonic = "H";
- }
- : slider {
- key = /*MSG0*/"conea_s";
- min_value = 0;
- max_value = 160;
- small_increment = 1;
- big_increment = 10;
- }
- : edit_box_8 {
- label = "Difuminaci≤n:";
- key = /*MSG0*/"coned_t";
- mnemonic = "D";
- }
- : slider {
- key = /*MSG0*/"coned_s";
- min_value = 0;
- max_value = 160;
- small_increment = 1;
- big_increment = 10;
- }
- }
- //****************************************************************************
- // Dialog to edit distant lights (sun).
-
- ave_distant_light : dialog {
- key = /*MSG0*/"dialog";
- dialog_kind = /*MSG0*/"distant";
- : row {
- : column {
- distant_light_parameters_panel;
- }
- : column {
- azimuth_altitude_panel;
- light_source_panel;
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
-
-
- //****************************************************************************
- //Materials list dialog
-
- rend_list : dialog {
- label = "Biblioteca de materiales";
- : column {
- key = /*MSG0*/"top_key";
- : row {
- material_column;
- : column {
- finish_preview;
- spacer_0;
- import_export_delete;
- spacer_0;
- }
- library_column;
- }
- spacer_1_ok_cancel_help_custom;
- }
- }
-
-
- //****************************************************************************
- // Main material dialog
-
- ave_finish : dialog {
- label = "Materiales";
- : column {
- key = /*MSG0*/"top_key";
- : row {
- material_list;
- material_preview_and_select;
- : column {
- width = 18;
- spacer_0;
- button_mod;
- button_dup;
- button_new;
- spacer_0;
- material_attach;
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
- }
-
-
- material_preview_and_select : column {
- finish_preview;
- spacer_1;
- button_imp;
- button_pkt;
- }
-
-
- //
- // Dialogs to edit a minimal, standard, granite, marble, or wood material.
- //
-
- ave_minimal_material_mod : dialog {
- key = /*MSG0*/"dialog";
- : column {
- key = /*MSG0*/"top_key";
- material_name;
- : row {
- minimal_attributes;
- minimal_value_color_preview;
- }
- spacer_1_ok_cancel_help_errtile;
- }
- }
-
- minimal_attributes : boxed_column {
- label = "Atributos";
- : row {
- : radio_column {
- key = /*MSG0*/"attribute";
- alignment = top;
- : radio_button {
- label = "Color";
- key = /*MSG0*/"diffuse";
- mnemonic = "l";
- }
- : radio_button {
- label = "Ambiente";
- key = /*MSG0*/"ambient";
- mnemonic = "A";
- }
- : radio_button {
- label = "Reflexi≤n";
- key = /*MSG0*/"reflection";
- mnemonic = "e";
- }
- : radio_button {
- label = "Aspereza";
- key = /*MSG0*/"roughness";
- mnemonic = "z";
- }
- }
- : column {
- : sample_image { key = /*MSG0*/"sample_0"; }
- : sample_image { key = /*MSG0*/"sample_1"; }
- : sample_image { key = /*MSG0*/"sample_2"; }
- spacer_1_5;
- }
- }
- }
-
-
- sample_image : image_button {
- color = -15;
- height = 1.5;
- aspect_ratio = 1;
- fixed_height = true;
- fixed_width = true;
- is_tab_stop = false;
- }
-
-
-
- minimal_value_color_preview : column {
- : row {
- : column {
- value_edit_slider;
- minimal_color_widget;
- }
- finish_preview;
- }
- }
-
-
- minimal_color_widget : boxed_row {
- label = "Color";
- : column {
- : row {
- : toggle {
- label = "Desde ACI";
- key = /*MSG0*/"by_aci";
- mnemonic = "s";
- }
- lock;
- }
- color_system;
- variable_color_model;
- display_and_get_color;
- }
- }
-
-
- variable_color_model : row {
- : column {
- : text {
- key = /*MSG0*/"top_text";
- width = 10;
- value = "Rojo:";
- }
- : text {
- key = /*MSG0*/"middle_text";
- width = 10;
- value = "Verde:";
- }
- : text {
- key = /*MSG0*/"bottom_text";
- width = 10;
- value = "Azul:";
- }
- }
- : column {
- : edit_box_4 {
- label = "";
- key = /*MSG0*/"top_edit";
- }
- : edit_box_4 {
- label = "";
- key = /*MSG0*/"middle_edit";
- }
- : edit_box_4 {
- label = "";
- key = /*MSG0*/"bottom_edit";
- }
- }
- : column {
- : slider_0_1_fixed { key = /*MSG0*/"top_slider"; }
- : slider_0_1_fixed { key = /*MSG0*/"middle_slider"; }
- : slider_0_1_fixed { key = /*MSG0*/"bottom_slider"; }
- }
- }
-
-
- //
- // Material attach by ACI dialogue.
- //
-
- rend_material_aci : dialog {
- label = "Enlazar desde Indice de colores de AutoCAD (ACI)";
- : column {
- key = /*MSG0*/"top_key";
- : row {
- : list_box {
- key = /*MSG0*/"list";
- label = "Designar un material:";
- mnemonic = "m";
- width = 18;
- }
- : column {
- finish_preview;
- : button {
- label = "Enlazar ->";
- key = /*MSG0*/"attach";
- mnemonic = "E";
- }
- : button {
- label = "Desenlazar";
- key = /*MSG0*/"detach";
- mnemonic = "D";
- }
- }
- : list_box {
- key = /*MSG0*/"index";
- label = "Designar ACI:";
- mnemonic = "A";
- width = 31;
- tabs = /*MSG0*/"4 12";
- multiple_select = true;
- fixed_width_font = true;
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
- }
-
-
- //
- // Material attach by layer dialogue.
- //
-
- rend_material_layer : dialog {
- label = "Enlazar por capa";
- : column {
- key = /*MSG0*/"top_key";
- : row {
- : list_box {
- key = /*MSG0*/"list";
- label = "Desig. material:";
- mnemonic = "m";
- width = 18;
- }
- : column {
- finish_preview;
- : button {
- label = "Enlazar ->";
- key = /*MSG0*/"attach";
- mnemonic = "E";
- }
- : button {
- label = "Desenlazar";
- key = /*MSG0*/"detach";
- mnemonic = "D";
- }
- }
- : list_box {
- key = /*MSG0*/"layer";
- label = "Designar capa:";
- mnemonic = "c";
- width = 38;
- tabs = /*MSG0*/"22";
- multiple_select = true;
- }
- }
- spacer_1_ok_cancel_help_errtile;
- }
- }
-